﻿<!--_meta 作为公共模版分离出去-->
{include file="public/meta" /}
<!--/meta 作为公共模版分离出去-->
<title>用户管理 - 积分纪录</title>
<meta name="keywords" content="h-ui.admin.pro v1.0,H-ui网站后台模版,后台模版下载,后台管理系统模版,HTML后台模版下载">
<meta name="description" content="h-ui.admin.pro v1.0，是一款由国人开发的轻量级扁平化网站后台模板，完全免费开源的网站后台管理系统模版，适合中小型CMS后台系统。">
</head>
<body>
<div class="wap-container">
    <nav class="breadcrumb" style="background-color:#fff;padding: 0 24px">
        首页
        <span class="c-gray en">/</span>
        用户管理
        <span class="c-gray en">/</span>
        积分记录
        <a class="btn btn-success radius f-r" style="line-height:1.6em;margin-top:3px"
           href="javascript:location.replace(location.href);" title="刷新"><i class="Hui-iconfont">&#xe68f;</i></a>
    </nav>
    <article class="Hui-admin-content clearfix">
        <div class="panel">
            <form class="layui-form layui-form-pane" action="{:url('silver_index')}" method="get">
                <div class="panel-body">
                    <div class="text-c"> 日期范围：
                        <input type="text" name="begin_time" value="{$begin_time}" id="search-datetime-start"
                               class="input-text datetimepicker-input"
                               style="width:120px;">
                        -
                        <input type="text" name="end_time" value="{$end_time}" id="search-datetime-end"
                               class="input-text datetimepicker-input"
                               style="width:120px;">
                        <input type="text" class="input-text" style="width:250px" value="{$nickname}"
                               placeholder="用户昵称" name="nickname">
                        <span class="select-box" style="width:150px">
							<select class="select" name="gain_type_id" size="1">
								<option value="">收/支</option>
								{foreach $gain_type as $k=>$v}
								<option value="{$k}" {if($k==$gain_type_id)}selected {/if}>{$v}</option>
                                {/foreach}
							</select>
							</span>
                        <span class="select-box" style="width:150px">
							<select class="select" name="type_id" size="1">
								<option value="" selected>类型</option>
								{foreach $type as $k=>$v}
								<option value="{$k}" {if($k==$type_id)}selected {/if}>{$v}</option>
                                {/foreach}
							</select>
							</span>
                        <button type="submit" class="btn btn-success radius" id="" name=""><i class="Hui-iconfont">&#xe665;</i>
                            搜索
                        </button>
                    </div>
                </div>
            </form>
        </div>
        <div class="panel mt-20">
            <div class="panel-body">
                <div class="clearfix">
                    <span class="f-r">共有数据：<strong>{$count}</strong> 条</span>
                </div>
                <div class="clearfix mt-20">
                    <table class="table table-border table-bordered table-hover table-bg table-sort">
                        <thead>
                        <tr class="text-c">
                            <th width="25"><input type="checkbox" name="" value=""></th>
                            <th width="30">ID</th>
                            <th width="30">用户id</th>
                            <th width="90">用户</th>
                            <th width="90">类型</th>
                            <th width="90">数量</th>
                            <th width="90">收/支</th>
                            <th width="120">时间</th>
                            <th width="50">操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        {volist name="model" id="vo"}
                        <tr class="text-c">
                            <td><input type="checkbox" value="1" name=""></td>
                            <td>{$vo.id}</td>
                            <td>{$vo.user_id}</td>
                            <td><u style="cursor:pointer" class="text-primary"
                                   onclick="member_show('','{:url(\'user/show\',[\'id\'=>$vo.user_id])}')">{$vo.nickname}</u>
                            </td>
                            <td>{$vo.type}</td>
                            <td>{$vo.number}</td>
                            <td>{$vo.gain_type}</td>
                            <td>{$vo.create_time}</td>
                            <td class="td-manage">
                                <a title="删除" href="javascript:;" class="ml-5"
                                   style="text-decoration:none"><i class="Hui-iconfont">&#xe6e2;</i></a>
                            </td>
                        </tr>
                        {/volist}
                        </tbody>
                    </table>
                    {$page|RAW}
                </div>
            </div>
        </div>
    </article>
</div>
<!--_footer 作为公共模版分离出去-->
{include file="public/footer" /}
<!--/_footer /作为公共模版分离出去-->
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="{__STATIC_PATH}admin/lib/datatables/1.10.15/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="{__STATIC_PATH}admin/lib/laypage/1.2/laypage.js"></script>
<script type="text/javascript" src="{__STATIC_PATH}admin/static/business/js/main.js"></script>
<script type="text/javascript">
    $(function () {
        runDatetimePicker();
        // 全选 页面调用
    });
</script>
<!--/请在上方写此页面业务相关的脚本-->
</body>
</html>
